package com.wk.springbootlearn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wk.springbootlearn.pojo.entity.MyGroup;
import com.wk.springbootlearn.pojo.form.GetGroupForm;
import com.wk.springbootlearn.pojo.model.GroupListItemModel;
import com.wk.springbootlearn.pojo.model.GroupListModel;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface GroupMapper extends BaseMapper<MyGroup> {

    IPage<GroupListItemModel> findGroupList(Page<?> page, @Param("getGroupForm") GetGroupForm getGroupForm);
}
